package ru.ifmo.thesis.quantities;

public class Percent extends NumberObject<Double> {

	public Percent(Double value) {
		super(value);
		if (value < 0.0d || value > 1.0d) {
			throw new IllegalArgumentException("Percent value should be betwen 0.0 and 1.0");
		}
	}

}
